/* 全局重置 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: url('background-main.webp') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    overflow: hidden;
}


/* 软件名称样式 - 显示在页面顶部 */

.software-name {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 144, 255, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.main-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

.left-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.left-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-top: 30px;
}

.right-login {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}


/* 登录容器 */

.login-container {
    width: 100%;
    max-width: 400px;
}


/* 登录框 */

.login-box {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 440px;
    position: relative;
}


/* 标题区域 */

.title-section {
    margin-bottom: 40px;
}

.main-title {
    font-family: 'Alibaba PuHuiTi';
    font-weight: 500;
    font-size: 28px;
    line-height: 1.372em;
    color: #333333;
    margin-bottom: 10px;
}

.subtitle {
    font-family: 'Alibaba PuHuiTi';
    font-weight: 400;
    font-size: 20px;
    line-height: 1.372em;
    color: #94A0B5;
    margin-left: 131px;
}


/* 登录选项卡 */

.login-tabs {
    position: relative;
    margin-bottom: 27px;
}

.tab {
    display: inline-block;
    font-family: 'Alibaba PuHuiTi';
    font-weight: 400;
    font-size: 20px;
    line-height: 1.372em;
    color: #666666;
    cursor: pointer;
    margin-right: 69px;
    margin-bottom: 10px;
}

.tab.active {
    font-weight: 500;
    color: #333333;
}

.tab:first-child {
    margin-left: 0;
}


/* 选项卡指示器 */

.tab-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 78px;
    height: 2px;
    background: #598AFF;
}


/* 选项卡分割线 */

.tab-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 370px;
    height: 1px;
    background: #E6E6E6;
}


/* 登录表单 */

.login-form {
    margin-top: 27px;
}


/* 输入组 */

.input-group {
    margin-bottom: 23px;
}

.input-wrapper {
    position: relative;
    width: 370px;
    height: 52px;
    background: #FFFFFF;
    border: 1px solid #598AFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.input-wrapper:not(.captcha-input) {
    border-color: #C3D5E8;
}

.input-wrapper:focus-within {
    border-color: #598AFF;
}


/* 输入框图标 */

.input-icon {
    width: 18px;
    height: auto;
    margin-right: 15px;
    flex-shrink: 0;
}


/* 输入框分割线 */

.input-divider {
    width: 1px;
    height: 28px;
    background: #C3D5E8;
    margin-right: 17px;
    flex-shrink: 0;
}


/* 表单输入框 */

.form-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Alibaba PuHuiTi';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.372em;
    color: #333333;
    background: transparent;
}

.form-input::placeholder {
    color: #999999;
}


/* 输入框操作图标 */

.input-action-icon {
    width: 20px;
    height: auto;
    margin-left: 10px;
    cursor: pointer;
    flex-shrink: 0;
}


/* 验证码组 */

.captcha-group {
    display: flex;
    gap: 4px;
}

.captcha-input {
    width: 213px;
}

.captcha-image {
    width: 153px;
    height: 51px;
    border-radius: 8px;
    overflow: hidden;
}

.captcha-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 表单选项 */

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 33px 0;
}

.remember-password {
    display: flex;
    align-items: center;
}

.checkbox-wrapper {
    position: relative;
    margin-right: 10px;
}

.checkbox {
    width: 14px;
    height: 14px;
    border: 1px solid #6297FF;
    border-radius: 2px;
    background: #6698F9;
    appearance: none;
    cursor: pointer;
    position: relative;
}

.checkbox-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label svg svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-icon {
    width: 7px;
    height: 5px;
    display: none;
}

.checkbox:checked+.checkbox-label .checkbox-icon {
    display: block;
}

.option-text {
    font-family: 'Alibaba PuHuiTi';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.372em;
    color: #999999;
}

.forgot-password {
    font-family: 'Alibaba PuHuiTi';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.372em;
    color: #999999;
    text-decoration: none;
}

.forgot-password:hover {
    color: #598AFF;
}


/* 登录按钮 */

.login-button {
    width: 370px;
    height: 52px;
    background: linear-gradient(90deg, rgba(80, 138, 255, 1) 0%, rgba(79, 131, 253, 1) 100%);
    border: none;
    border-radius: 8px;
    font-family: 'Alibaba PuHuiTi';
    font-weight: 400;
    font-size: 20px;
    line-height: 1.372em;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(80, 138, 255, 0.3);
}

.login-button:active {
    transform: translateY(0);
}